export default {
  path: "/contractAdmin",
  component: () => import("@/layout/adminNew"),
  redirect: "ele-contract/index",
  meta: {
    title: "电子合同",
    icon: "yuangongguanli"
  },
  children: [
    {
      path: "settlementRules",
      component: () => import("@/views/contract/settlementRules")
    },
    {
      path: "settlementRules/wagesRules",
      component: () => import("@/views/contract/settlementRules/wagesRules")
    },
    {
      path: "settlementRules/laborRules",
      component: () => import("@/views/contract/settlementRules/laborRules")
    },
    {
      path: "holiday",
      component: () => import("@/views/contract/holiday")
    },
    {
      path: "elecontract",
      name: "elecontractAdmin",
      component: () => import("@/views/contract/ele-contract/index"),
      meta: {
        title: "签署记录",
        icon: "tree"
      }
    },
    {
      path: "type",
      component: () => import("@/views/contract/type-manage/manage"),
      meta: {
        title: "合同类型管理",
        icon: "tree"
      }
    },
    {
      path: "group", // 合同分组
      component: () => import("@/views/contract/type-manage/manage/group")
    },
    {
      path: "type/issued", // 合同分组
      component: () => import("@/views/contract/type-manage/manage/group/issued")
    },
    {
      path: "type/update/:categoryId/:id",
      component: () => import("@/views/contract/type-manage/edit.vue")
    },
    {
      path: "type/seal/:id",
      component: () => import("@/views/contract/type-manage/editSealNew")
    },
    {
      path: "stamp",

      component: () => import("@/views/contract/stamp-manage/index"),
      meta: {
        title: "印章管理",
        icon: "tree"
      }
    },
    {
      path: "stamp/create",

      component: () => import("@/views/contract/stamp-manage/edit"),
      meta: {
        title: "印章创建"
      }
    },
    {
      path: "stamp/update/:id",

      component: () => import("@/views/contract/stamp-manage/edit"),
      meta: {
        title: "印章编辑"
      }
    },
    {
      path: "stamp/verify/:id",

      component: () => import("@/views/contract/stamp-manage/verify"),
      meta: {
        title: "印章认证"
      }
    },
    {
      hidden: true,
      path: "contract-set",
      name: "contract-set",
      component: () => import("@/views/contract/ele-contract/setting"),
      meta: {
        title: "设置"
      }
    },
    {
      hidden: true,
      path: "setting",
      name: "settingAdmin",
      // component: () => import("@/views/contract/type-manage/setting"),
      component: () => import("@/views/contract/type-manage/settingNew"),
      meta: {
        title: "合同设置"
      }
    },
    {
      hidden: true,
      path: "type/initiateSign",
      name: "initiateSignAdmin",
      component: () => import("@/views/contract/type-manage/initiateSign"),
      meta: {
        title: "发起合同"
      }
    },
    {
      hidden: true,
      path: "type/previewDetail",
      name: "previewDetailAdmin",
      component: () => import("@/views/contract/type-manage/previewDetail"),
      meta: {
        title: "预览"
      }
    },
    {
      path: "template",
      component: () => import("@/views/wages/template")
    },
    {
      path: "template/add",
      component: () => import("@/views/wages/template/add")
    },
    {
      path: "template/edit",
      component: () => import("@/views/wages/template/edit")
    },
    {
      path: "gongzibiaomuban",
      component: () => import("@/views/alone/xinzi/gongzibiaomuban")
    },
    {
      path: "gongzibiaomuban/edit",
      component: () => import("@/views/alone/xinzi/gongzibiaomuban/edit")
    },
    {
      path: "ruzhi",
      component: () => import("@/views/staff/edit/entryTemplateSet4"),
      meta: {
        title: "入职模板",
        icon: "dashboard"
      }
    },
    {
      path: "ruzhi/newTemplate",
      meta: {
        title: "新建入职模板设置"
      },
      component: () => import("@/views/staff/edit/newTemplate")
    },
    {
      path: "ruzhi/template_ydj",
      meta: {
        title: "预登记模板设置"
      },
      component: () => import("@/views/staff/edit/newTemplate")
    },
    {
      path: "shebaoMethod",
      name: "shebaoMethodAdmin",
      component: () => import("@/views/shebao/shebaoMethod/index"),
      meta: {
        title: "参保方案",
        icon: "tree"
      }
    },
    {
      path: "shebaoMethod/addMethod",
      name: "addMethodAdmin",
      component: () => import("@/views/shebao/shebaoMethod/addMethod"),
      meta: {
        title: "添加参保方案"
      }
    },
    {
      path: "shebaoMethod/methodDetail",
      name: "methodDetailAdmin",
      component: () => import("@/views/shebao/shebaoMethod/methodDetail"),
      meta: {
        title: "参保详情"
      }
    },
    {
      path: "shebaoMethod/editMethod",
      name: "editMethodAdmin",
      component: () => import("@/views/shebao/shebaoMethod/editMethod")
    }
  ]
};
